package com.thjk.bdf.system.service;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.thjk.bdf.common.entity.ApplyOrder;
import com.thjk.loan.management.common.page.TableDataInfo;


/**
 * 
 * @创建日期： 2019年11月1日
 * @author 束凯
 * @Description：授信结果查询
 */
@FeignClient(value ="bdf-system")
public interface CreditService {
	
	/**
	 * 
	 * @Description: 产品列表也查询
	 * @params:参宿说明
	 */
	@RequestMapping(value = "/credit/list", method = RequestMethod.POST)
	TableDataInfo selectyPage(@RequestBody ApplyOrder applyOrder);
	
	/**
	 * 
	 * @Description: 导出总数
	 * @params:参宿说明
	 */
	@RequestMapping(value = "/credit/countExport")
	public int countExport(@RequestBody ApplyOrder applyOrder);
	
	
	/**
	 * 
	 * @Description: 导出
	 * @params:参宿说明
	 */
	@RequestMapping(value = "/credit/export", method = RequestMethod.POST)
	List<ApplyOrder> selectExport(@RequestBody ApplyOrder applyOrder);
	
	/**
	 * 
	 * @Description: 查看详情
	 * @params:Id  主键
	 */
	@RequestMapping(value = "/credit/selectById", method = RequestMethod.POST)
	ApplyOrder selectByPrimaryKey(@RequestParam Integer id);
	
}
